package com.archetypus.projectschedule.common.data.involvements;

import java.util.List;

import com.archetypus.projectschedule.common.dto.activities.Activity;
import com.archetypus.projectschedule.common.dto.involvements.Involvement;
import com.archetypus.projectschedule.common.dto.people.Person;
import com.archetypus.projectschedule.common.exceptions.ProjectSchedulerException;

public interface InvolvementDAO {
	public Involvement insert(Involvement involvement) throws ProjectSchedulerException;
	public void delete(Involvement involvement) throws ProjectSchedulerException;
	public void update(Involvement involvement) throws ProjectSchedulerException;
	public Involvement find(Involvement involvement) throws ProjectSchedulerException;
	public List<Involvement> listByActivity(Activity activity) throws ProjectSchedulerException;
	public List<Involvement> listByPerson(Person person) throws ProjectSchedulerException;
	public List<Involvement> list() throws ProjectSchedulerException;
}
